package com.situ.shoplook.common.service;

import com.github.pagehelper.PageInfo;
import com.situ.shoplook.common.model.GoodsInfo;
import com.situ.shoplook.common.model.GoodsInfo;

import java.util.List;

/**
 * @Author xinchen
 * @Date: 2024/08/30/ 10:43
 * @Description
 */
public interface GoodsInfoService{

    int save(GoodsInfo goodsInfo) throws Exception;

    int remove(Integer[] ids);

    int update(GoodsInfo goodsInfo) throws Exception;

    PageInfo<GoodsInfo> searchByPage(Integer page, Integer limit, GoodsInfo goodsInfo);

    GoodsInfo getGoodsById(Long goodsId);

    List<GoodsInfo> findByHotGoodses();
}
